<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="<?php echo __PUBLIC__?>/Admin/Flat/img/favicon.ico">
	    <link rel="stylesheet" href="<?php echo __PUBLIC__?>/hdjs/hdjs.css">
	    <script type="text/javascript" src="<?php echo __PUBLIC__?>/jquery-1.8.js"></script>
	    <script type="text/javascript" src="<?php echo __PUBLIC__?>/hdjs/hdjs.min.js"></script>
	   
	</head>
	<body>
		<form onsubmit="return hd_submit(this,'<?php echo U("TypeAttr/add")?>','<?php echo U("TypeAttr/index")?>')">
		<div class="alert alert-success">添加商品类型属性</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性名称</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型的属性名称" required="" name="taname">
		</div>
	
		<div class="form-group">
			<label for="exampleInputEmail1">属性类别</label>
			<select name="class"  id="exampleInputEmail1" class="form-control">
				<option value="0">属性</option>
				<option value="1">规格</option>
			</select>
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性值</label>
			<textarea   rows="5" cols="" name="tavalue" class="form-control" placeholder="请输入属性值"></textarea>
		</div>
		<!-- 将商品类型的tid放到隐藏域一起通过post提交过去 -->
		<input type="hidden" name="type_tid" value="<?php echo Q('get.tid')?>">
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>